package net.rlo.umcolorpicker.colormode;

public class RGB {

	private int r;
	private int g;
	private int b;
	
	public RGB(int r, int g, int b) {
		this.r = r;
		this.g = g;
		this.b = b;
	}
	
	public int getR() {
		return r;
	}
	public void setR(int r) {
		this.r = r;
	}
	public int getG() {
		return g;
	}
	public void setG(int g) {
		this.g = g;
	}
	public int getB() {
		return b;
	}
	public void setB(int b) {
		this.b = b;
	}
	
	public String toString() {
		return String.format("%03d, %03d, %03d", r, g, b);
	}
}
